package com.ss.ttvideoengine;

public enum Resolution {
    Standard("360p"),
    High("480p"),
    SuperHigh("720p");

    private final String resolution;

    private Resolution(String str) {
        this.resolution = str;
    }

    public final int getIndex() {
        switch (cc.a[ordinal()]) {
            case 2:
                return 1;
            case 3:
                return 2;
            default:
                return 0;
        }
    }

    public final String toString() {
        return this.resolution;
    }
}